package cn.com.gaobb.service;

import cn.com.gaobb.dto.ResultDTO;
import cn.com.gaobb.vo.*;

import java.util.List;

public interface GoodsService {
    ResultDTO<ResIdVO> add(ReqGoodsAddVO reqVO);

    ResultDTO update(ReqGoodsUpdateVO vo);

    ResultDTO deleteList(ReqGoodsDeleteListVO vo);

    ResultDTO<ResGoodsDetailVO> detail(String id);

    ResultDTO<ResPageVO<ResGoodsDetailVO>> listOfPage(ReqPageVO vo);

    ResultDTO<List<ResGoodsDetailVO>> list();

}
